/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package net.wofly.sale.order.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import net.wofly.sale.order.domain.ReturnGift;

public interface ReturnGiftRepository
		extends PagingAndSortingRepository<ReturnGift, String>, JpaSpecificationExecutor<ReturnGift> {
	
	public List<ReturnGift> findByReturnSalesID(String returnSalesID) ;
	
	void deleteByReturnSalesID(String returnSalesID);
}